package com.zenith.api.po.vo.edu;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(name = "EduStudentGradeVO", description = "学生成绩VO")
public class EduStudentGradeVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "学生ID")
    private Long studentId;
    
    @Schema(description = "作业ID")
    private Long assignmentId;
    
    @Schema(description = "得分")
    private BigDecimal score;
    
    @Schema(description = "答对题数")
    private Integer correctNum;
    
    @Schema(description = "总题数")
    private Integer totalNum;
    
    @Schema(description = "耗时（秒）")
    private Integer spendTime;
    
    @Schema(description = "状态：1-正常 2-作废")
    private Integer status;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}